<script type="text/javascript" src="{:SITE_URL}/apps/{$app_show}/Tpl/default/Public/Js/common.js"></script>
<script type="text/javascript" src="{:SITE_URL}/apps/{$app_show}/Tpl/default/Public/Js/group.interesting.js"></script>
<link  href="{:SITE_URL}/apps/{$app_show}/Tpl/default/Public/group.css" rel="stylesheet" type="text/css"/>
<script>
var display_interesting_group = 'main';
$(document).ready(function(){
    change_interesting_group(1);
});
</script>
<div class="mainbox_R">
    <div class="right_box">
      <php>if (!empty($hot_group_list)) {</php>
      <h2>群组排行榜</h2>
      <ul>
      <li class="lh30 cGray2"><span class="right">成员数</span>群组</li>
        <volist name="hot_group_list" id="hot_group">
        
          <li class="lh35 lineD_topR">
            <em class="right">{$hot_group['membercount']}</em>
            <span style="width:20px;display: inline-block;" class="f14px">
                <span class="<elt name="i" value="3">cRed</elt>"><strong>{$i}</strong></span>
            </span>
            <a href="{:U('group/Group/index', array('gid'=>$hot_group['id']))}">
              <img style="vertical-align:middle" src="__ROOT__/thumb.php?w=25&h=25&t=f&url={$hot_group['logo']|get_photo_url}">
            </a>
            <a class="username" href="{:U('group/Group/index', array('gid'=>$hot_group['id']))}" target="_blank">{$hot_group['name']|getShort=6,'...'}</a>
          </li>
        </volist>
      </ul>
      <php>} // end if</php>
    </div>
    <php>if (!empty($hot_tags_list)) {</php>
    <div class="right_box">
      <h2>热门群标签</h2>
      <ul class="topic_list">
        <volist name="hot_tags_list" id="hot_tag">
          <li><a href="{:U('group/Index/search', array('k'=>urlencode($hot_tag['tag_name'])))}" target="_blank">{$hot_tag['tag_name']}({$hot_tag['count']})</a></li>
        </volist>
      </ul>
    </div>
    <php>} // end if</php>
</div>
<div class="mainbox_C" >
        <!--你可能敢兴趣的群 -->
        <div class="group_box mLR15" id="interesting_group_list">
        </div>
        <!--/你可能敢兴趣的群 -->
        <div class="group_box mLR15">
          <div class="searchBox">
            <form action="{:U('group/Index/search')}" method="post" onsubmit="javascript:if(this.k.value.length <= 0){return false;}" target="_blank">
              <div><input name="k" type="text" class="text mr5" style="width:360px;" /><input type="submit" class="N_but" value="搜索群组" /></div>
            </form>
            <p class="sch_hot mt10"><if condition="$reTags"><strong>热门：</strong>
            <volist name="reTags" id="tag"><a href="{:U('group/Index/search', array('k'=>urlencode($tag)))}" target="_blank">{$tag}</a></volist>
            </if></p>
          </div>
	      <!--群组热帖 -->
	      <div class="group_hot_list">
	          <h2>群组热帖</h2>
	          <ul>
	            <volist name="hot_thread_list" id="thread">
		            <li class="">
		              <div class="c1 OverH">
		                <if condition="$thread['dist']"><span class="jh right" style="display:none" title="精华">精</span></if>
		                <a href="{:U('group/Topic/topic',array('gid'=>$thread['gid'], 'tid'=>$thread['id']))}" title="{$thread['title']}" target="_blank">
		                    {$i}. {$thread['title']|getShort=###, 15, '...'}</a>
		                    <if condition="$thread['attach'] && 'N;' neq $thread['attach']"><img
		                    src="{:SITE_URL}/apps/{$app_show}/Tpl/default/Public/images/ico_acc.gif" alt="附件" title="附件" class="alM" /></if>                
		              </div>
		            </li>
	            </volist>
	          </ul>
          </div>
	      <!--/群组热帖 -->
          <!--群组分类-->
	      <h2>群组分类</h2>
          <ul class="gsort" style="margin:0">
            <volist name="category_tree" id="category_top">
            <li>
              <a name="group_category"></a>
              <h3><a href="{:U('group/Index/search', array('cid'=>$category_top['a']))}" class="MIB_linkar">{$category_top['t']}</a><span>({$category_top['count']})</span></h3>
              <div class="group_classtext MIB_linkbr">
              <volist name="category_top['d']" id="category_son">
                <a href="{:U('group/Index/search', array('cid'=>$category_son['a']))}">{$category_son['t']}</a>
              </volist>
              </div>
            </li>
            </volist>
          </ul>
        </div>
        <!--/微群分类-->

        <div class="c"></div>
</div>
<div class="c"></div>